package com.rc.saas.tenant.mapper.hlht;

import com.rc.saas.tenant.common.base.BaseMapper;
import com.rc.saas.tenant.model.elec.ElecGun;
import com.rc.saas.tenant.model.hlht.HlhtTenantOpen;
import com.rc.saas.tenant.model.hlht.HlhtTenantOpenGun;
import com.rc.saas.tenant.model.hlht.HlhtTenantOpenGunExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HlhtTenantOpenGunMapper extends BaseMapper<Long, HlhtTenantOpenGun, HlhtTenantOpenGunExample> {
    void insertBatchByElecGunList(@Param("hlhtTenantOpen") HlhtTenantOpen hlhtTenantOpen,@Param("elecGunList") List<ElecGun> elecGunList,@Param("hlhtOpenforType") String hlhtOpenforType,@Param("loginName") String loginName);

    void deleteBatchByElecStationIdList(@Param("hlhtTenantOpen") HlhtTenantOpen hlhtTenantOpen,@Param("elecStationIdList") List<Long> elecStationIdList);

    void updateGunHlhtOpenforTypeBatchByOpenStationIdList(@Param("hlhtTenantOpen") HlhtTenantOpen hlhtTenantOpen,@Param("openedStationIdList") List<Long> openedStationIdList,@Param("hlhtOpenforType") String hlhtOpenforType);

    void deleteBatchByElecPileIdList(@Param("hlhtTenantOpen") HlhtTenantOpen hlhtTenantOpen, @Param("elecPileIdList") List<Long> elecPileIdList);

    void updateGunHlhtOpenforTypeBatchByOpePileIdList(@Param("hlhtTenantOpen") HlhtTenantOpen hlhtTenantOpen,@Param("openedPileIdList") List<Long> openedPileIdList,@Param("hlhtOpenforType") String hlhtOpenforType);

    void deleteBatchByElecGunList(@Param("hlhtTenantOpen") HlhtTenantOpen hlhtTenantOpen, @Param("elecGunList") List<ElecGun> elecGunList, @Param("hlhtOpenforType") String hlhtOpenforType);
}